package org.zcl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.zcl.entity.po.TbUserInfo;
import org.zcl.entity.request.TbUserRequest;
import org.zcl.entity.response.UserVO;
import org.zcl.entity.model.PageResponse;

/**
 * 用户表(TbUserInfo)表服务接口
 *
 * @author Chenglin Zhu
 * @since 2022-01-28 10:13:38
 */
public interface TbUserInfoService extends IService<TbUserInfo> {

    void updateName(TbUserInfo userInfo);

    void update(UserVO userVO);

    void updateUser(UserVO userVO);

    TbUserInfo selectById(Long id);

    UserVO selectUserById(Long id);

    PageResponse<TbUserInfo> page(TbUserRequest request);

    void deleteUserById(Long id);

    void deleteUser(Long id);

    void deleteWithFill(Long id);

    void updateUserWithFill(UserVO userVO);

    void updateByIdUserWithFill(UserVO userVO);

    void deleteByIdWithFill(Long id);
}

